﻿using KayakMes.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yitter.IdGenerator;

namespace KayakMes.Check.Domain
{
    /// <summary>
    /// 检测项目
    /// </summary>
    [SugarTable("CheckStandardItem")]
    public class CheckStandardItemModel
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; } = YitIdHelper.NextId();
        [SugarColumn(IsNullable = true)]
        public string CheckSheetId { get; set; } // 外键
        /// <summary>
        /// 检查项名称
        /// </summary>
        /// 
        [SugarColumn(IsNullable = true)]
        public string ItemName { get; set; }
        /// <summary>
        /// 检查项标准
        /// </summary>
        /// 
        [SugarColumn(IsNullable = true)]
        public string ItemStandard { get; set; }
        /// <summary>
        /// 检查项工具
        /// </summary>
        /// 
        [SugarColumn(IsNullable = true)]
        public string ItemTool { get; set; }
        /// <summary>
        /// 检查项描述
        /// </summary>
        /// 
        [SugarColumn(IsNullable = true)]
        public string ItemDescription { get; set; }
    }
    
}
